package com.fintech.third.constant;

/**
 * 验证码类型
 * @author 吴俊峰
 */
public enum SmsTypeEnum {
	
	REGISTER("register_", "注册发送验证码", "registerMobileKey"),
	LOGIN("login_", "登录发送验证码", "registerMobileKey"),
	LEND("lend_", "放款成功", "lending"),
	LATERMING("latereMind_", "逾期提醒","latereMind"),
	PAYSUCCESS("paymentSuccessful_", "批次代扣还款成功","paymentSuccessful"),
	PAYFAILFIVE("repaymentFailedFive_", "批次首次(5点)代扣还款失败", "repaymentFailedFive"),
	PAYFAILTWELVE("repaymentFailedTwelve_", "批次(12点)代扣还款失败", "repaymentFailedTwelve"),
	OVERPAYFAILFIVE("overdueWithholdingFailedFive_", "批次首次(5点)逾期代扣还款失败", "overdueWithholdingFailedFive"),
	OVERPAYFAIL("overdueWithholdingFailed_", "批次(逾期)代扣还款失败", "overdueWithholdingFailed"),
	OVERPAYSUCCESS("overdueWithholdingSuccessful_", "批次(逾期)代扣还款成功", "overdueWithholdingSuccessful"),
	SENDUSERMSG("userListSendMsg_", "用户列表发送短信（核心后台）", "userListSendMsg");
	
	private String name;//存入redis的键，不能与其他相同
	private String details;
	private String templateName;//短信模板名称
	
	private SmsTypeEnum(String name, String details, String templateName) {
		this.name = name;
		this.details = details;
		this.templateName = templateName;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDetails() {
		return details;
	}
	public void setDetails(String details) {
		this.details = details;
	}

	public String getTemplateName() {
		return templateName;
	}

	public void setTemplateName(String templateName) {
		this.templateName = templateName;
	}
	
	
}
